package com.tanhua.sso.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @author 阿离(灰原)
 * @version 1.0
 * @date 2023/8/27 下午 10:29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel(description = "用户信息")
public class User {
    @ApiModelProperty(value = "用户 ID", example = "1")
    private Long id;
    //手机号
    private String mobile;
    //密码，需要加密
    @ApiModelProperty(value = "密码", example = "123456")
    private String password;

    private Date created;

    private Date updated;
}
